Retrospective analysis of patient files